package com.gitee.feizns.quickstart.log;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * web操作日志切面监听器
 * @author feizns
 * @since 2024/2/25
 */
public interface LogAroundAspectListener {

    /**
     * 监听操作日志
     * @param log {@link MethodLog}
     */
    void listener(MethodLog log);

    /**
     * 监听操作
     * @param joinPoint {@link ProceedingJoinPoint}
     */
    default void around(ProceedingJoinPoint joinPoint) {}

}
